/**
 * 
 */
package com.trendytech.tds.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 *
 */
public class AbstractEntity implements Serializable, IUUIDEntity {

	private static final long serialVersionUID = 6102538076480243276L;

	protected String id;
	protected String name;
	protected Date createTime;
	protected Date modifyTime;
	protected Date deleteTime;
	protected int deleted;
	
	@Override
	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String getId() {
		return this.id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public int getDeleted() {
		return deleted;
	}

	public void setDeleted(int deleted) {
		this.deleted = deleted;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
